stream = open(r"i:/w1.txt", 'w')
print(stream.writable())
s = 'hello aaa'
stream.write(s)
s = 'hello bbb'
stream.write(s)
s = '''
床前明月光，疑是地上霜。
举头望明月，低头思故乡。
'''
stream.writelines(s)
stream.close()
